pancake sorting problem bill gates